class Person {   //类名是大驼峰
    //属性
    public int age;
    public String name;

    //行为
    public void eat() {
        System.out.println("吃饭");
    }
}

class WashMachine {
    //属性(字段)->成员属性
    public String brand;
    public double weight;
    //行为(方法)->成员方法
    public void washClothes() {   //小驼峰
        System.out.println("洗衣功能");
    };
}



public class Test {

}
